<template>
	<view class="header-box">
		<view class="header">
			<view class="header-content">
				<view class="personal-information">
					<view class="" v-for="v in props.list" :key="v">
						<text>{{ v.lable }}：</text>
						<text>{{ v.name }}</text>
					</view>
				</view>
				<view class="date"><text>123：2022-07-02</text></view>
				<view class="information">
					<text>开单科室：消化科门诊</text>
					<text>开单医生：王然</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
let props = defineProps({
	list: {
		type: Object
	}
})
</script>

<style scoped lang="less">
.header-box {
	width: 750rpx;
	height: 218rpx;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 20rpx;
}
.header {
	width: 688rpx;
	height: 178rpx;
	border-radius: 10rpx;
	background: #f3f8fe;
	display: flex;
	justify-content: center;
	align-items: center;
	.header-content {
		width: 630rpx;
		height: 150rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		.personal-information {
			width: 630rpx;
			height: 44rpx;
			display: flex;
			justify-content: space-between;
			font-size: 30rpx;
			color: #474848;
		}
		.date,
		.information {
			font-size: 24rpx;
			color: #acabaa;
		}
		.information text {
			margin-right: 50rpx;
		}
	}
}
</style>
